package com.douqu.game.main.database.mapper.read;

import com.douqu.game.core.database.model.UpdateConfigModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Bean
 * @Description:
 * @Date: 2018-10-17 18:24
 */
public interface ReadUpdateConfigMapper {

    UpdateConfigModel findById(@Param("id") Integer id);

    List<UpdateConfigModel> findAll();

    /**
     * 查找要执行的(过期的排除)
     * @return
     */
    List<UpdateConfigModel> findExecuteList();


}
